package com.project.bean;

/**
 * 用户实体类
 */
public class UserBean {
    /**用户编号 */
    private int id;
    /**用户名*/
    private String name;
    /**密码*/
    private String pwd;
    /**等级*/
    private String grade;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", grade='" + grade + '\'' +
                '}';
    }
}
